package com.api;

import com.qf.Jifen;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @author MI
 * @ClassName JifenApi.java
 * @createTime 2021年12月18日 23:35:00
 */
@FeignClient("cloud-jifen")
@RequestMapping("/jifen")
public interface JifenApi {

    @PostMapping(value = "/save")
    public Map save(@RequestBody Jifen jifen);

    @PostMapping(value = "/update")
    public Map update(@RequestBody Jifen jifen);

    @GetMapping(value = "/delete")
    public Map deletedById(@RequestParam Integer jifenId);
}
